﻿using PublicCommon;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BasicInformation.Domain
{
    /// <summary>
    /// 货主表
    /// </summary>
    [Table("Owner")]
    public class Owner:Audit
    {
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 货主名称
        /// </summary>
        public string? OwnersName { get; set; }
        /// <summary>
        /// 货主手机号
        /// </summary>
        public string? PhoneNumber { get; set; }
        /// <summary>
        /// 单位名称
        /// </summary>
        public string? UnitName { get; set; }
        /// <summary>
        /// 联系地址
        /// </summary>
        public string? Address { get; set; }
        /// <summary>
        /// 驾驶证有效日期
        /// </summary>
        public DateTime? ValidDate { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Desc { get; set; }
        /// <summary>
        /// 驾驶证照片
        /// </summary>
        public string? DriverPhoto { get; set; }
    }
}
